/*
 */
package aptech.eproject.logictics.dao.kien;

import aptech.eproject.logictics.db.Branch;
import aptech.eproject.logictics.db.Vehicle;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Kien Nguyen <solidfoxrock at gmail.com>
 */
@Remote
public interface VehicleServiceRemote {

    Branch findBranch(int branchId);

    List<Vehicle> findVehicles(int branchId);

    Vehicle findVehicle(String vehicleId);

    List<Vehicle> findVehiclesByType(String type, int branchId);

    void create(Vehicle vehicle);

    void edit(Vehicle vehicle);

    void remove(String vehicleId);

    void remove(List<String> vehicleIds);

    void recover(String vehicleId);

    void removeForever(String vehicleId);
}
